﻿// 
// DotNetNuke?- http://www.dotnetnuke.com 
// Copyright (c) 2002-2009 
// by DotNetNuke Corporation 
// 
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation 
// the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and 
// to permit persons to whom the Software is furnished to do so, subject to the following conditions: 
// 
// The above copyright notice and this permission notice shall be included in all copies or substantial portions 
// of the Software. 
// 
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 
// TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 
// CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
// DEALINGS IN THE SOFTWARE. 
// 

using System;
using System.Configuration;
using System.Data;

namespace gygac.Modules.DeviceDeploy
{

    /// ----------------------------------------------------------------------------- 
    /// <summary> 
    /// The Info class for DeviceDeploy 
    /// </summary> 
    /// <remarks> 
    /// </remarks> 
    /// <history> 
    /// </history> 
    /// -----------------------------------------------------------------------------     
	public class DeviceDeployInfo
    {
        #region "Private Members"
		///<summary>
		///记录编号
		///</summary>
		int _DDId;
		///<summary>
		///模块编号
		///</summary>
		int _ModuleId;
		///<summary>
		///品名
		///</summary>
		string _DeviceName;
		///<summary>
		///签收人
		///</summary>
		string _Borrower;
		///<summary>
		///发放人
		///</summary>
		string _Lender;
		///<summary>
		///借出日期
		///</summary>
		DateTime _LendDate;
		///<summary>
		///预计归还日期
		///</summary>
		DateTime _Estimated;
		///<summary>
		///是否已归还
		///</summary>
		bool _IsReturned;
		///<summary>
		///归还日期
		///</summary>
		DateTime _ReturnDate;
		///<summary>
		///提示邮件地址
		///</summary>
		string _EMail;
		///<summary>
		///创建记录用户
		///</summary>
		string _CreatedByUser;
		///<summary>
		///备注
		///</summary>
		string _Remark;
		#endregion		
		
		#region "Constructors"
        public DeviceDeployInfo()
        {
		}

        public DeviceDeployInfo(int DDId, int ModuleId , string DeviceName , string Borrower , string Lender , DateTime LendDate , DateTime Estimated , bool IsReturned , DateTime ReturnDate , string EMail , string CreatedByUser , string Remark)
		{
			this.DDId = DDId;
			this.ModuleId = ModuleId;
			this.DeviceName = DeviceName;
			this.Borrower = Borrower;
			this.Lender = Lender;
			this.LendDate = LendDate;
			this.Estimated = Estimated;
			this.IsReturned = IsReturned;
			this.ReturnDate = ReturnDate;
			this.EMail = EMail;
			this.CreatedByUser = CreatedByUser;
			this.Remark = Remark;
        }
		#endregion
		
		#region "Public Properties"
		///<summary>
		///记录编号
		///</summary>
		public int DDId
		{
			get{return _DDId;}
			set{_DDId = value;}
		}
		
		///<summary>
		///模块编号
		///</summary>
		public int ModuleId
		{
			get{return _ModuleId;}
			set{_ModuleId = value;}
		}

		///<summary>
		///品名
		///</summary>
		public string DeviceName
		{
			get{return _DeviceName;}
			set{_DeviceName = value;}
		}

		///<summary>
		///签收人
		///</summary>
		public string Borrower
		{
			get{return _Borrower;}
			set{_Borrower = value;}
		}

		///<summary>
		///发放人
		///</summary>
		public string Lender
		{
			get{return _Lender;}
			set{_Lender = value;}
		}

		///<summary>
		///借出日期
		///</summary>
		public DateTime LendDate
		{
			get{return _LendDate;}
			set{_LendDate = value;}
		}

		///<summary>
		///预计归还日期
		///</summary>
		public DateTime Estimated
		{
			get{return _Estimated;}
			set{_Estimated = value;}
		}

		///<summary>
		///是否已归还
		///</summary>
		public bool IsReturned
		{
			get{return _IsReturned;}
			set{_IsReturned = value;}
		}

		///<summary>
		///归还日期
		///</summary>
		public DateTime ReturnDate
		{
			get{return _ReturnDate;}
			set{_ReturnDate = value;}
		}

		///<summary>
		///提示邮件地址
		///</summary>
		public string EMail
		{
			get{return _EMail;}
			set{_EMail = value;}
		}

		///<summary>
		///创建记录用户
		///</summary>
		public string CreatedByUser
		{
			get{return _CreatedByUser;}
			set{_CreatedByUser = value;}
		}

		///<summary>
		///备注
		///</summary>
		public string Remark
		{
			get{return _Remark;}
			set{_Remark = value;}
		}
		#endregion
    }
}